FUNCTION
ensure_blockchain_account
function ensure_blockchain_account(blockchain_rid: byte_array): accountReturns the blockchain account with the given ID, creating it if needed.
Can only be called from an operation.
Throws when an account with given ID exists, but the type is not ACCOUNT_TYPE_BLOCKCHAIN.
Parameters
- blockchain_rid — the ID of the blockchain whose account is to be returned
© 2024 Chromia